package com.gao.mapper;

import org.apache.ibatis.annotations.Param;

/**
 * @author GaoXi
 * @date 2022/3/3 20:09
 */
public interface BlogMapper {
    //@Select("SELECT * FROM blog WHERE id = #{id}")
    Blog selectBlog(Long id);

    /**
     * 测试返回主键
     *
     * @param blog1
     * @return
     */
    int insertBlog(Blog blog1);
}
